* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Microsoft YaHei', 'PingFang';
}

body {
  display: flex;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  /* width: 400px; */
  /* padding: 30px; */
  /* border-radius: 4px; */
  /* box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2); */
}

#app .title {
  margin: 30px 0 60px;
}

#app .alert-time {
  margin-top: 20px;
}

#app .timeout {
  margin: 10px 0 30px;
  font-size: 60px;
}

#app .drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  transform: translateX(100%);
  transition: all .3s;
}

#app .drawer.visible {
  transform: translateX(0);
}

#app .drawer .video {
  width: 400px;
  max-width: 100%;
}

#app .drawer .video video {
  width: 100%;
  pointer-events: none;
}

#app .drawer .btns {
  margin-top: 30px;
}

.btn {
  height: 55px;
  padding: 0 25px;
  border-radius: 12px;
  font-size: 24px;
  border-style: solid;
  cursor: pointer;
  outline: none;
  transition: all .3s;
}

.btn + .btn {
  margin-left: 20px;
}

.btn.success {
  border-color: #01AA0C;
  background-color: rgb(1, 170, 12, 0.1);
}

.btn.success:hover {
  background-color: rgb(1, 170, 12, 0.2);
}

.btn.danger {
  border-color: #AA0401;
  background-color: rgb(170, 4, 1, .1);
}

.btn.danger:hover {
  background-color: rgb(170, 4, 1, .2);
}